New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add c2s support #30
Add c2s support #30
Conversation
You know we're in the unfortunate situation of having two forks implementing c2s server. I'm currently tending towards the @superfeedr branch, just because Julien had me look into it earlier. Remember: release early, release often, and talk. Refusing contributions really gives me a bad conscience. Nevertheless I want to give you some feedback. It could be nitpicking, but I don't want to hand your pull request down without technical reasons.
|
Hi astro, In my design, I want to allow anyone to extend code easily. I am not a believer on comments, but a strong believer on TDD. As a result, I got my code fullly coverage, yet might not have a good description. :) Let me address your comments.
|
…le. See https://github.com/superfeedr/node-xmpp-c2s for the full server implementation
Hey Hpychan, I think our c2s branch is now functional and works fine. However, one thing that it lacks is tests. I was hoping that maybe we could re-use the ones you used for your own branch. |
Julien's branch has been merged now. Please help me maintaining it. :-) |
Here is my c2s support for xmpp-server.
I used my forked version of vows to test.
hpychan/vows
I added the -i features in vows to support different lib, so I can see my code coverage.
The test command is
vows -i lib test/*
As a result, I updated test_jid.js as well.
Please tell me your thought.
hpychan